package com.sc.nft.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sc.nft.entity.MerchantPledgeTaskConf;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sc.nft.entity.vo.merchantPledgeTask.AdminExaminePageVO;
import com.sc.nft.entity.vo.merchantPledgeTask.MerchantPledgeTaskPageVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 商户质押任务配置主表(sc_merchant_pledge_task_conf)数据Mapper
 *
 * @author Sun
 * @since 2023-08-24 16:16:49
 * @description 由 Mybatisplus Code Generator 创建
*/
@Mapper
public interface MerchantPledgeTaskConfMapper extends BaseMapper<MerchantPledgeTaskConf> {

    /**
     * 获取审核列表
     * @param page
     * @param daoName
     * @param examineStatus
     * @return
     */
    Page<AdminExaminePageVO> getAdminExaminePage(Page page, @Param("daoName") String daoName,@Param("examineStatus")  Integer examineStatus);

    /**
     * APP获取质押任务列表
     * @param page
     * @return
     */
    Page<MerchantPledgeTaskPageVO> getTaskPage(Page page,@Param("daoId") Long daoId);
}
